package com.bbcare.switchData.entity.model;

import com.bbcare.switchData.entity.basemodel.BaseEntityForBB;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;


public class PtTaskcontentInfo extends BaseEntityForBB<PtTaskcontentInfo> {

	private String taskId; // 任务id
	private String templVersionid; // 任务内容模板版本id
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private java.util.Date updateTime; // 更新时间
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private java.util.Date createTime; // 创建时间
	private String updateAccept; // 更新流水
	private String templType; // 内容类型 0:门诊问卷 1:线上问卷 2:随访提醒 3:用药 4:随访评测 5:随访指导 6:家庭监测 7:宣教
	private String userId; // 患者id
	private String ptSchemeid; // 患者队列实例id
	private Integer seqNo; // 任务内容序列号，按升序排列
	private String ruleType; // 主诉登记规则：0 通用任务内容，整个周期内都是相同的问卷；1 月龄规则，每个月龄的主诉登记内容不相同......待扩展
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private java.util.Date beginDate; // 开始执行日期
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private java.util.Date endDate; // 结束执行日期
	private Integer priorityNo; // 同一任务下不同阶段任务内容优先级，升序排（用于线上主诉登记）

	public String getTaskId() {
		return taskId;
	}
	
	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}
	
	public String getTemplVersionid() {
		return templVersionid;
	}
	
	public void setTemplVersionid(String templVersionid) {
		this.templVersionid = templVersionid;
	}
	
	public java.util.Date getUpdateTime() {
		return updateTime;
	}
	
	public void setUpdateTime(java.util.Date updateTime) {
		this.updateTime = updateTime;
	}
	
	public java.util.Date getCreateTime() {
		return createTime;
	}
	
	public void setCreateTime(java.util.Date createTime) {
		this.createTime = createTime;
	}
	
	public String getUpdateAccept() {
		return updateAccept;
	}
	
	public void setUpdateAccept(String updateAccept) {
		this.updateAccept = updateAccept;
	}
	
	public String getTemplType() {
		return templType;
	}
	
	public void setTemplType(String templType) {
		this.templType = templType;
	}
	
	public String getUserId() {
		return userId;
	}
	
	public void setUserId(String userId) {
		this.userId = userId;
	}
	
	public String getPtSchemeid() {
		return ptSchemeid;
	}
	
	public void setPtSchemeid(String ptSchemeid) {
		this.ptSchemeid = ptSchemeid;
	}
	
	public Integer getSeqNo() {
		return seqNo;
	}
	
	public void setSeqNo(Integer seqNo) {
		this.seqNo = seqNo;
	}
	
	public String getRuleType() {
		return ruleType;
	}
	
	public void setRuleType(String ruleType) {
		this.ruleType = ruleType;
	}
	
	public java.util.Date getBeginDate() {
		return beginDate;
	}
	
	public void setBeginDate(java.util.Date beginDate) {
		this.beginDate = beginDate;
	}
	
	public java.util.Date getEndDate() {
		return endDate;
	}
	
	public void setEndDate(java.util.Date endDate) {
		this.endDate = endDate;
	}
	
	public Integer getPriorityNo() {
		return priorityNo;
	}
	
	public void setPriorityNo(Integer priorityNo) {
		this.priorityNo = priorityNo;
	}
	
}
